home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 4 / CDPD_IV.bin / e / mailinglists / amigae.0294feb.archive / 000039_donews!crash!delphi.com!NES_Fri, 11 Feb 94 06:15:15 PST.msg < prev    next >
Internet Message Format  |  1994-05-26  |  15KB

  1. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  2.       id <1sun@bkhouse.cts.com>; Fri, 11 Feb 94 06:15:15 PST
  3. Received: from crash by donews.cts.com with uucp
  4.     (Smail3.1.28.1 #18) id m0pUoAs-0001PEC; Thu, 10 Feb 94 22:04 EST
  5. Received: from bos1d.delphi.com by crash.cts.com with smtp
  6.     (Smail3.1.28.1 #18) id m0pUnm6-000037C; Thu, 10 Feb 94 18:38 PST
  7. Received: from delphi.com by delphi.com (PMDF V4.2-11 #6311) id
  8.  <01H8QGVMBAJ490N44C@delphi.com>; Thu, 10 Feb 1994 21:25:43 EST
  9. Date: Thu, 10 Feb 1994 21:25:43 -0500 (EST)
  10. Message-id: <01H8QGVMBAJ690N44C@delphi.com>
  11. X-VMS-To: IN%"amigae@bkhouse.cts.com"
  12. MIME-version: 1.0
  13. Content-type: TEXT/PLAIN; CHARSET=US-ASCII
  14. Content-transfer-encoding: 7BIT
  15. From: NES@delphi.com
  16. To: amigae@bkhouse.cts.com
  17. Subject: More MUI questons
  18.  
  19. I have been trying to use the program MUIbuilder.  But have been
  20. unable to get the source output of the program to compile.
  21. Any Idea's?
  22. Eric <NES@delphi.com>
  23. From donews!crash!mail.msen.com!crandall Fri, 11 Feb 94 06:17:04 PST
  24. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  25.       id <1swa@bkhouse.cts.com>; Fri, 11 Feb 94 06:17:04 PST
  26. Received: from crash by donews.cts.com with uucp
  27.     (Smail3.1.28.1 #18) id m0pUq1e-0001OdC; Fri, 11 Feb 94 00:02 EST
  28. Received: from garnet.msen.com by crash.cts.com with smtp
  29.     (Smail3.1.28.1 #18) id m0pUpR5-000029C; Thu, 10 Feb 94 20:24 PST
  30. Received: by garnet.msen.com (Smail3.1.28.1 #11)
  31.     id m0pUpR0-0013CHC; Thu, 10 Feb 94 23:24 EST
  32. Date: Thu, 10 Feb 1994 23:24:53 -0500 (EST)
  33. Message-ID: <Pine.3.88.9402102302.A12608-0100000@garnet.msen.com>
  34. MIME-Version: 1.0
  35. Content-Type: TEXT/PLAIN; charset=US-ASCII
  36. From: Chad Randall <crandall@mail.msen.com>
  37. To: amigae@bkhouse.cts.com
  38. Subject: Re: Re: iffparse.library
  39.  
  40.  
  41. >> I've just started using the iffparse.library.
  42. >> and I'm getting a problem when I parse an IFF file.
  43. >> ParseIFF() returns an error (-5). Anyone encounter this problem?
  44.  
  45. No, not really.
  46.  
  47. Here's a snippet of code from my icon editor:
  48.  
  49. (Sorry for lack of comments.  Hopefully this example is straight forward 
  50. enough to understand.)
  51.  
  52. PROC doloadpalette() HANDLE
  53.   DEF iff=NIL:PTR TO iffhandle
  54.   DEF ierror
  55.   DEF sp=NIL:PTR storedproperty
  56.   DEF body,size
  57.  
  58.   iff:=AllocIFF()
  59.   iff.stream:=Open(palettename,MODE_OLDFILE)
  60.   IF (iff.stream)
  61.     InitIFFasDOS(iff)
  62.   ELSE
  63.     Raise(E_FILE)
  64.   ENDIF
  65.  
  66.   ierror:=OpenIFF(iff,IFFF_READ)       /* Better error handling */
  67.   ierror:=PropChunk(iff,"ILBM","CMAP") /* could be done here!   */
  68.   ierror:=StopOnExit(iff,"ILBM","FORM")/* Actually, it could be */
  69.   ierror:=ParseIFF(iff,IFFPARSE_SCAN)  /* improved throughout!  */
  70.  
  71.   IF(sp:=FindProp(iff,"ILBM","CMAP"))
  72.     body:=sp.data
  73.     size:=sp.size
  74.  
  75.     /*   This is where you'd handle the chunk.  It starts at
  76.         "body", and has "size" number of bytes.
  77.  
  78.   ELSE
  79.     Raise(E_IFF)  /* This just means no "CMAP" chunk was found. */
  80.   ENDIF
  81.  
  82.   Raise(E_NONE)
  83.  
  84. EXCEPT
  85.  
  86.   IF (iff)
  87.     CloseIFF(iff)
  88.     IF (iff.stream) THEN Close(iff.stream)
  89.     FreeIFF(iff)
  90.   ENDIF
  91.  
  92.   IF exception<>E_NONE THEN errormessage(exception)
  93.   
  94. ENDPROC
  95.  
  96.  
  97. The troubles you are running into might be due to not using the 
  98. "StopOnExit" function.  I could not get this to work without it.  The 
  99. example used here tells ParseIFF to stop when it is leaving the FORM 
  100. chunk, which normally is the end of the file.
  101.  
  102. Hope this helps,
  103. Chad Randall (crandall@garnet.msen.com)
  104. From donews!crash!mail.csh.rit.edu!jerry Fri, 11 Feb 94 06:17:31 PST
  105. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  106.       id <1swq@bkhouse.cts.com>; Fri, 11 Feb 94 06:17:31 PST
  107. Received: from crash by donews.cts.com with uucp
  108.     (Smail3.1.28.1 #18) id m0pUqTv-0001PjC; Fri, 11 Feb 94 00:31 EST
  109. Received: from nick.csh.rit.edu by crash.cts.com with smtp
  110.     (Smail3.1.28.1 #18) id m0pUqGM-00003tC; Thu, 10 Feb 94 21:17 PST
  111. Received: from ccimp.csh.rit.edu (ccimp.csh.rit.edu [129.21.60.1]) by nick.csh.rit.edu (8.6.3/8.6.3) with ESMTP id AAA13744 for <AmigaE@bkhouse.cts.com>; Fri, 11 Feb 1994 00:15:27 -0500
  112. Received: from localhost (jerry@localhost) by ccimp.csh.rit.edu (8.6.3/8.6.3) id AAA22601 for AmigaE@bkhouse.cts.com; Fri, 11 Feb 1994 00:15:26 -0500
  113. Message-Id: <199402110515.AAA22601@ccimp.csh.rit.edu>
  114. Date: Fri, 11 Feb 1994 00:15:25 -0800
  115. In-Reply-To: robbage@multi.multiline.com.au (Rob Nottage)
  116.        "Devices and volumes" (Feb  9,  2:38am)
  117. X-Mailer: Mail User's Shell (7.2.5 10/14/92)
  118. From: jerry@mail.csh.rit.edu (Jerry (Watch out for snakes))
  119. To: AmigaE@bkhouse.cts.com (The AmigaE Mailing List)
  120. Subject: Re: Devices and volumes
  121.  
  122. On Feb 9,  2:38am, Rob Nottage wrote:
  123. } Subject: Devices and volumes
  124. } > >One other thing I'm stuck on is with a device/volume/assign list. I want to
  125. } > >be able to show it similar to the way ASL shows it ie:
  126. } > >
  127. } > >DEVICENAME:   VOLUMENAME:             xx% full
  128. } > >DEVICE2:      VOLUME2:                yy% full
  129. } > >C:                                    Assign
  130. } > >CLIPS:                                Assign
  131. } >     Here's a solution: Get ALL Devices, and then check all VOLUMES ONLY.  A
  132. } > Device which has a filesystems IS GOING TO HAVE a VOLUME NAME.  Just do a
  133. } > little cross-checking and baddabing, baddaboom :-)
  134. } Sounds extremely tedious.   :-)
  135. } I found a much easier way anyway..  thanks for the reply though.
  136.  
  137. Do tell!
  138.  
  139.  
  140. -- 
  141.    __                                    __   "There's nothing like seeing
  142.  \ oo /      sdl7253@cs.rit.edu         ///       nature on a screaming
  143.   `--'                               __///           crotch rocket."
  144.   _/|_     jerry@mail.csh.rit.edu    \\//                      -Crow T. Robot    
  145. From donews!crash!comlab.oxford.ac.uk!ecs.oxford.ac.uk!m88jrh Fri, 11 Feb 94 06:20:58 PST
  146. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  147.       id <1sy8@bkhouse.cts.com>; Fri, 11 Feb 94 06:20:58 PST
  148. Received: from crash by donews.cts.com with uucp
  149.     (Smail3.1.28.1 #18) id m0pUv9s-0001THC; Fri, 11 Feb 94 05:31 EST
  150. Received: from sun2.nsfnet-relay.ac.uk by crash.cts.com with smtp
  151.     (Smail3.1.28.1 #18) id m0pUumE-00008TC; Fri, 11 Feb 94 02:07 PST
  152. Received: from ecs.oxford.ac.uk (ecs.ecs) by comlab.oxford.ac.uk id AA18472;
  153.           Fri, 11 Feb 94 10:05:25 GMT
  154. Received: from ecs.ox.ac.uk (booth11.ecs) by ecs.oxford.ac.uk (4.1/ecs.1) 
  155.           id AA25207; Fri, 11 Feb 94 10:08:39 GMT
  156. Received: by ecs.ox.ac.uk (4.1/ecs2.0) id AA15713; Fri, 11 Feb 94 10:07:03 GMT
  157. Via: uk.ac.oxford.comlab; Fri, 11 Feb 1994 10:06:03 +0000
  158. Date: Fri, 11 Feb 94 10:07:03 GMT
  159. Message-Id: <9402111007.AA15713@booth11.ecs.ox.ac.uk>
  160. From: m88jrh@ecs.oxford.ac.uk
  161. To: amigae@bkhouse.cts.com
  162. Subject: Re: FANTASY ADVENTURE ENGINE
  163.  
  164. Recently, thorntonj@beast.cs.hh.ab.com (Jessie) wrote in with his program
  165. which seemed to not be working. Well, everything looks fine except a few
  166. major string mistakes (E is more like C than BASIC or PASCAL).  All lines
  167. like:
  168.  
  169.   vwalls := '65534000000001457854000000012600000004485069400000'+
  170.             '9600000000179200000000006553400000'
  171.  
  172. should be StrCopy()'s (String Copy) like this:
  173.  
  174.   StrCopy(vwalls, '65534000000001457854000000012600000004485069400000'+
  175.                   '9600000000179200000000006553400000', ALL)
  176.  
  177. And in docommand() the assignment in the IF will always be TRUE:
  178.  
  179.   IF command := '8'
  180.  
  181. What you really wanted to do is StrCmp() (String Compare):
  182.  
  183.   IF StrCmp(command, '8', ALL)
  184.  
  185. If you want to check just the first letter of the command string you
  186. could write this instead:
  187.  
  188.   IF StrCmp(command, '8', 1)
  189.  
  190. With these changes things should work.
  191.  
  192. ---
  193.    _____  _
  194.      /   / |    /  /
  195.     /   /__/   /__/      Jason R. Hulance
  196.    /   /\     /  /   <m88jrh@uk.ac.oxford.ecs>
  197. |_/ . /  \ . /  / .
  198. From donews!crash!rbhp56.rbg.informatik.th-darmstadt.de!anh Sat, 12 Feb 94 01:35:24 PST
  199. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  200.       id <1t0s@bkhouse.cts.com>; Sat, 12 Feb 94 01:35:24 PST
  201. Received: from crash by donews.cts.com with uucp
  202.     (Smail3.1.28.1 #18) id m0pV0Js-0001nyC; Fri, 11 Feb 94 11:02 EST
  203. Received: from rbhp89.rbg.informatik.th-darmstadt.de by crash.cts.com with smtp
  204.     (Smail3.1.28.1 #18) id m0pUzsO-00007bC; Fri, 11 Feb 94 07:33 PST
  205. Received: from rbhp48.rbg.informatik.th-darmstadt.de by rbhp89.rbg.informatik.th-darmstadt.de with SMTP
  206.     (1.36.108.4/15.6) id AA09506; Fri, 11 Feb 1994 16:17:11 +0100
  207. Received: by rbhp48.rbg.informatik.th-darmstadt.de
  208.     (1.36.108.4/15.6) id AA13093; Fri, 11 Feb 1994 16:16:52 +0100
  209. Message-Id: <m0pUzsO-00007bC@crash.cts.com>
  210. Date: Fri, 11 Feb 94 16:16:50 MEZ
  211. Full-Name: Olivier Anh
  212. In-Reply-To: <9402082123.1rqe@bkhouse.cts.com>; from "nkraft@bkhouse.cts.com" at Feb 8, 94 1:23 pm
  213. Mailer: Elm [revision: 66.25]
  214. From: Olivier Anh <anh@rbhp56.rbg.informatik.th-darmstadt.de>
  215. To: AmigaE@bkhouse.cts.com (The AmigaE Mailing List)
  216. Subject: Re: Ahem...
  217.  
  218. Hi 
  219.  
  220.  
  221. > There have been a variety of problems with my feed system in the last
  222. > couple of weeks. We think that these are finally fixed and both mail
  223. > and news are flowing fine through bkhouse again. 
  224. > Unfortunately, the problems caused a number of delays and other oddities
  225. > with regard to amigae list mail, and all I can do in response is ask
  226. > for your patience. We really are working very hard to keep all the mailing
  227. > lists here at bkhouse running as smoothly as possible.
  228. OK, that's good now, I recieve all the mails. But 3 days after...
  229. I know the problems you have. I'll be patient :)
  230.  
  231. See you...
  232.  
  233.  
  234. --
  235. -------------------------------------------------------------------------------
  236.    / / Olivier ANH                        |' And may the Force be with You ! '
  237. \ X /  anh@rbg.informatik.th-darmstadt.de |             - Return of the Jedi -
  238. -------------------------------------------------------------------------------
  239. From donews!crash!synapse.org!bob.monaghan Sat, 12 Feb 94 01:36:44 PST
  240. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  241.       id <1t2a@bkhouse.cts.com>; Sat, 12 Feb 94 01:36:44 PST
  242. Received: from crash by donews.cts.com with uucp
  243.     (Smail3.1.28.1 #18) id m0pV2BP-0001jYC; Fri, 11 Feb 94 13:01 EST
  244. Received: from uusynap.synapse.org by crash.cts.com with smtp
  245.     (Smail3.1.28.1 #18) id m0pV232-0000N1C; Fri, 11 Feb 94 09:53 PST
  246. Received: from synapse.org (synapse@localhost) by uusynap.synapse.org (8.6.5/8.6.5) with UUCP id MAA25009 for AMIGAE@BKHOUSE.CTS.COM; Fri, 11 Feb 1994 12:52:49 -0500
  247. Received: by synapse.org (PCB-UUCP 1.1f)
  248.     id EDF29C; Fri, 11 Feb 94 12:37:27 -0500
  249. Message-ID: <1d.105587.1351.0CEDF29C@synapse.org>
  250. Date: Fri, 11 Feb 94 12:29:00 -0500
  251. Organization: Babillard Synapse Inc. - (819) 246-2344
  252. From: bob.monaghan@synapse.org (Bob Monaghan)
  253. To: AMIGAE@BKHOUSE.CTS.COM
  254. Subject: Re: iffparse.library
  255.  
  256. -> Message-ID: <m0pTx8G-000BvRC@multi.multiline.com.au>
  257. -> >
  258. -> > I've just started using the iffparse.library.
  259. -> > and I'm getting a problem when I parse an IFF file.
  260. -> > ParseIFF() returns an error (-5). Anyone encounter this problem?
  261. ->
  262. -> Yes, I got exactly the same problem, and I know I've seen messages
  263. -> from other people who get the same problem with 'E' .
  264. -> What a downer.. I really really need to use iffparse.library   :-(
  265.  
  266. I know, I'm trying to make an animation player (just for the hell of
  267. it), and like would be much nicer if I could get IFFParse to work.
  268.  
  269. I'm currently tinkering with an ILBM viewer that I made, and the amount
  270. of code that I originally wrote to read and store the chunks of just one
  271. picture was twice the amout needed to have IFFParse do it for me. Could
  272. you imagine what I'd have to write to do a simple anim player?
  273.  
  274. Bob Monaghan.
  275. From donews!crash!synapse.org!bob.monaghan Sat, 12 Feb 94 01:37:49 PST
  276. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  277.       id <1t3l@bkhouse.cts.com>; Sat, 12 Feb 94 01:37:49 PST
  278. Received: from crash by donews.cts.com with uucp
  279.     (Smail3.1.28.1 #18) id m0pV38X-0001PvC; Fri, 11 Feb 94 14:02 EST
  280. Received: from uusynap.synapse.org by crash.cts.com with smtp
  281.     (Smail3.1.28.1 #18) id m0pV32r-0000SNC; Fri, 11 Feb 94 10:56 PST
  282. Received: from synapse.org (synapse@localhost) by uusynap.synapse.org (8.6.5/8.6.5) with UUCP id NAA25686 for AMIGAE@BKHOUSE.CTS.COM; Fri, 11 Feb 1994 13:56:38 -0500
  283. Received: by synapse.org (PCB-UUCP 1.1f)
  284.     id EDF2A0; Fri, 11 Feb 94 12:58:06 -0500
  285. Message-ID: <1d.105588.1351.0CEDF2A0@synapse.org>
  286. Date: Fri, 11 Feb 94 12:36:00 -0500
  287. Organization: Babillard Synapse Inc. - (819) 246-2344
  288. From: bob.monaghan@synapse.org (Bob Monaghan)
  289. To: AMIGAE@BKHOUSE.CTS.COM
  290. Subject: Types!
  291.  
  292. You should create a list of C to E Typeing equivelents. (As some kind of
  293. Glossary?) That would be a real bonus.
  294. I'm not really strong on C programming, so when I look at C code to
  295. figure out what is going on, Types can really be pretty convusing when
  296. trying to make E equivelents.
  297.  
  298. BTW I'm trying to convert the AmigaDos 3.1 .i includes into .m files
  299. with IConvert.
  300.  
  301. Needless to say, there are some .i files that don't want to work. (eg.
  302. exec/ables.i or exec/exec.i or exec/initializers.i)
  303.  
  304. Any Suggestions? (I really want to have these includes!)
  305. From donews!crash!mhd1.moorhead.msus.edu!platt Sat, 12 Feb 94 01:39:25 PST
  306. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  307.       id <1t5i@bkhouse.cts.com>; Sat, 12 Feb 94 01:39:25 PST
  308. Received: from crash by donews.cts.com with uucp
  309.     (Smail3.1.28.1 #18) id m0pV7oo-0001PjC; Fri, 11 Feb 94 19:02 EST
  310. Received: from mhd1.moorhead.msus.edu by crash.cts.com with smtp
  311.     (Smail3.1.28.1 #18) id m0pV7fY-0000AIC; Fri, 11 Feb 94 15:53 PST
  312. Received: by mhd1.moorhead.msus.edu (5.65/DEC-Ultrix/4.3)
  313.     id AA06939; Fri, 11 Feb 1994 17:54:04 -0600
  314. Message-Id: <9402112354.AA06939@mhd1.moorhead.msus.edu>
  315. Date: Fri, 11 Feb 1994 17:54:04 -0600 (CST)
  316. In-Reply-To: <199402100203.VAA05469@freenet.carleton.ca> from "ao443@freenet.carleton.ca" at Feb 9, 94 09:03:12 pm
  317. X-Mailer: ELM [version 2.4 PL20]
  318. Content-Type: text
  319. Content-Length: 444
  320. From: platt@mhd1.moorhead.msus.edu (Vincent Platt)
  321. To: AmigaE@bkhouse.cts.com
  322. Subject: Re: I`m new here!
  323.  
  324. >     Actually,. tooltypes are really  easy. You just have to get around
  325. > the lack of the amiga.lib functions in E. I have fully functional
  326. > tooltypes code if anyone wants it? (hacked it up  for a commodity I made
  327. > for a friend)
  328.  
  329. Why don't you make yourself famous and make a complete example and post it
  330. to Aminet in /dev/e???  Personally I collect all the examples I can get so
  331. when I have a problem I can see how someone else has done it.
  332.